﻿using RuYiAdmin.Net.Entity.BusinessEntity.SystemManagement;
using RuYiAdmin.Net.Repository.BusinessRepository.SystemManagement.RoleMenu;
using RuYiAdmin.Net.Service.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RuYiAdmin.Net.Service.BusinessService.SystemManagement.RoleMenu
{
    /// <summary>
    /// 角色菜单业务层实现
    /// </summary>
    class RoleMenuService : BaseService<SysRoleMenu>, IRoleMenuService
    {
        /// <summary>
        /// 角色与菜单仓储实例
        /// </summary>
        private readonly IRoleMenuRepository roleMenuRepository;

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="roleMenuRepository"></param>
        public RoleMenuService(IRoleMenuRepository roleMenuRepository) : base(roleMenuRepository)
        {
            this.roleMenuRepository = roleMenuRepository;
        }
    }
}
